home *** CD-ROM | disk | FTP | other *** search
- // Application specific declarations i use
- // This one customized for cassandra
- // all parts copyright (c) 1988, 1989, 1990, 1991 by jiro nakamura
- //
- // by Jiro Nakamura (jiro@shaman.com)
- //
-
- #define MESSAGE_SIZE 250
- #define FILENAME_BUFFER 256
- #define DIRECTORY "/.cassandra/"
- #define EVENTFILE "events"
- #define EVENTLOGFILE "logfile"
- #define NOTEPADFILE "notepad"
- #define SOURCELOGINFILE "login"
- #define SOURCELOGOUTFILE "logout"
- #define FONTNAME "Helvetica"
- #define FONTSIZE 14.0
- /* This is for the initialization structure so it has to be quoted */
- #define FONTSIZEQ "14.0"
-
- #define CASSANDRA_TMP "/tmp/cass_XXXXXX"
- #define FILE_LEN 512
- #define NAME_LENGTH 128
- #define ALARMSOUND "/NextLibrary/Sounds/Bonk.snd"
- #define ALARMEXTENSIONS {"snd", NULL}
- typedef int EFileLink;
-
- // The following determines what name to write the defaults values under.
- #define PROGNAME "Cassandra"
-
- // Windows autosave themselves
- #define AUTOSAVE
-
- // Cassandra Version Number and other info
- #define PROGNAME "Cassandra"
- #define CASSANDRAVERSION "Cassandra Version 1.5 512 byte records."
- #define RECORD_SIZE 512
-
- // The defaults names for the defaults used by the program.
- #define DEFAULTALARMSOUND "DefaultAlarmSound"
- #define DEFAULTALARMVOLUME "DefaultAlarmVolume"
- #define DEFAULTAUTOLAUNCHED "NXAutoLaunch"
- #define DEFAULTCLOCKFACENUMBER "ClockFaceNumber"
- #define DEFAULTCLOCKTYPE "ClockType"
- #define DEFAULTCOMPRESSEVENTS "CompressEvents"
- #define DEFAULTDIRECTORY "Directory"
- #define DEFAULTEVENTLOGFRAME "EventLogFrame"
- #define DEFAULTEVENTLOGONLAUNCH "EventLogOnLaunch"
- #define DEFAULTFONTNAME "NXFont"
- #define DEFAULTFONTSIZE "NXFontSize"
- #define DEFAULTGURU "Crashed"
- #define DEFAULTHIDEONLAUNCH "HideOnLaunch"
- #define DEFAULTHIGHPRIORITY "HighPriority"
- #define DEFAULTLOWPRIORITY "LowPriority"
- #define DEFAULTMILITARYTIME "24HourClock"
- #define DEFAULTNOTEPADFRAME "NotepadFrame"
- #define DEFAULTNOTEPADONLAUNCH "NotepadOnLaunch"
- #define DEFAULTOVERVIEWFRAME "OverviewFrame"
- #define DEFAULTOVERVIEWONLAUNCH "OverviewOnLaunch"
- #define DEFAULTPLAYALARM "PlayAlarm"
- #define DEFAULTSAVESCREEN "SaveScreen"
- #define DEFAULTSCREENSAVER "ScreenSaver"
- #define DEFAULTSHOWSECONDS "ShowSeconds"
- #define DEFAULTSHOWDATE "ShowDate"
- #define DEFAULTSOURCELOGINONLAUNCH "SourceLoginOnLaunch"
- #define DEFAULTTODAYONLAUNCH "TodayOnLaunch"
- #define DEFAULTTODAYFRAME "TodayFrame"
- #define DEFAULTTODAYSHOWTIME "TodayShowTime"
- #define DEFAULTWEEKFRAME "WeekFrame"
- #define DEFAULTWEEKONLAUNCH "WeekOnLaunch"
-
- // What are the clockfaces called?
- #define BITMAPNAME "ClockFace"
-
- // What is the default screensaver program?
- #define SCREENSAVER "/usr/local/bin/screensaver"
-
- // Define the icons for the windows during miniturization
- #define OVERVIEWICON "window.tiff"
- #define NOTEPADICON "window.tiff"
- #define EVENTLOGICON "window.tiff"
- #define WEEKICON "window.tiff"
- #define TODAY_ICON "window.today.tiff"
-
- // Define the Left and Right Button icons
- #define LEFTARROW "Left"
- #define DISABLEDLEFTARROW "LeftD"
- #define RIGHTARROW "Right"
- #define DISABLEDRIGHTARROW "RightD"
-
-